package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.ScheduleFile;
import cn.topevery.garden.entity.query.ScheduleFileQuery;
import cn.topevery.garden.entity.vo.ScheduleFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-24
 */
public interface ScheduleFileDao extends BaseDao<ScheduleFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ScheduleFileVO> listPage(ScheduleFileQuery query);

    ScheduleFile getEntityByColumn(String key,String value);

    List<ScheduleFile> getListByPid(Integer id);

    void deleteById(Integer id);

    void deleteBatchByGuid(Integer userId, Integer[] ids);
}
